﻿<UserControl x:Class="ucFilter"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" IsTabStop="False">
	<Grid Name="ctlContainer"  >
		<Grid.ColumnDefinitions>
			<ColumnDefinition/>
		</Grid.ColumnDefinitions>
		<Grid.RowDefinitions>
			<RowDefinition Height="{Binding ElementName=ctlFilter, Path=Height}" />
			<RowDefinition Height="1*"/>
		</Grid.RowDefinitions>
		<TextBox Background="{x:Null}" Grid.Row="0" Name="ctlFilter" />
		<ListView Background="{x:Null}"  ItemContainerStyle="{DynamicResource FilterList}" Grid.Row="1" Name="ctlList" AlternationCount="2" SelectionMode="Single" />
			<TextBlock Foreground="#d0d0e0" Grid.Row="0" HorizontalAlignment="Right" Margin="0,2,4,0" Text="{Binding ElementName=ctlList, Path=Items.Count}" />
	</Grid>
</UserControl>
